#ifndef	_FLIGHTCHESSBOARDERRDESC_H_
#define	_FLIGHTCHESSBOARDERRDESC_H_

#include <iostream>
#include <string>
#include <map>

enum err_type {
	NO_ERR = 0,
	CMD_TYPE_UNKNOWN,/*未知的命令类型*/
	DST_CLIENT_UNKNOWN ,
	ROLE_NAME_UNKNOWN,/*未知的的角色名字*/
	CLIENT_REQ_TYPE_UNKNOWN,
	TRANSMIT_MSG_TYPE_UNKNOWN,/*未知的转发消息类型*/
};

#define	CMD_TYPE_UNKNOWN_DESC	"unknown cmd type."
#define	DST_CLIENT_UNKNOWN_DESC	"can't find destination client to transmit."
#define	ROLE_NAME_UNKNOWN_DESC	"unknown role type."
#define	CLIENT_REQ_TYPE_UNKNOWN_DESC	"unknown client request type."
#define	TRANSMIT_MSG_TYPE_UNKNOWN_DESC	"unknown transmit msg type."

#endif
